home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
Libraries
/
CAuthentication 1.0
/
CAuthentication.h
< prev
Wrap
Text File
|
1993-10-14
|
1KB
|
50 lines
/******************************************************************************
CAuthentication.h
Interface for the AOCE Authentication Class
Copyright © 1993 Marty Wachter. All rights reserved.
******************************************************************************/
#pragma once
#define kAuthenticationStrs 3000
#define kAOCENotInstalled 1
#define kNotAuthorizedUser 2
#include "CObject.h"
#include <OCEAuthDir.h>
#include <OCE.h>
#include <OCEErrors.h>
#include <OCEStandardDirectory.h>
class CAuthentication : public CObject {
public:
//Instance Variables
AuthIdentity userIdentity;
Str255 guestPrompt;
Str255 specificPrompt;
Str255 localPrompt;
Boolean allowGuest;
Boolean allowSpecific;
Boolean allowLocal;
Boolean hasOCE;
OSErr status;
SDPIdentityKind selectedKind;
//Instance Methods
void IAuthentication(ConstStr255Param aGuestPrompt,
ConstStr255Param aSpecificIDPrompt,
ConstStr255Param aLocalIDPrompt,
Boolean aAllowGuest,
Boolean aAllowSpecific,
Boolean aAllowLocal);
virtual void GetUserID(void);
};